The report aims to analyse the four pollutants observations made by 25 air quality monitors that are scattered across New Your city. The measurements were made betwenn 01-01-1990 and 31-12-2019, and the pollutants analysed here are:
ppm -> parts per million ppb -> parts per billion
Data source: NOAA Historical Air Quality
See also sql_code file to see how the database was queried.
Looking into the first row:
## site_num parameter_name concentration date_local longitude latitude
## 1 0071 Carbon monoxide 1.173684 1990-01-01 -73.98368 40.69578
## 2 0011 Sulfur dioxide 14.712500 1990-01-01 -73.94722 40.73277
## 3 0073 Sulfur dioxide 17.958333 1990-01-01 -73.90958 40.81149
## 4 0056 Carbon monoxide 1.568421 1990-01-01 -73.96661 40.75912
## 5 0063 Ozone 0.024706 1990-01-01 -74.01264 40.71149
## 6 0056 Carbon monoxide 1.608696 1990-01-01 -73.96661 40.75912
What is the sampling time period?
## min max
## 1 1990-01-01 2019-12-31
## parameter period observations
## 1 Carbon monoxide 1990-01-01 to 2019-12-31 104192
## 2 Sulfur dioxide 1990-01-01 to 2019-12-31 102677
## 3 Ozone 1990-01-01 to 2019-12-31 50026
## 4 Nitrogen dioxide (NO2) 1990-01-01 to 2019-12-31 38892
## 5 Outdoor Temperature 1992-06-09 to 2019-12-31 21793
## # A tibble: 5 x 2
## parameter_name mean
## <chr> <dbl>
## 1 Carbon monoxide [ppm] 4.76
## 2 Nitrogen dioxide [ppb] 3.59
## 3 Outdoor Temperature[°F] 2.24
## 4 Ozone [ppm] 4.57
## 5 Sulfur dioxide [ppb] 4.65
## Data Analysis #### Looking for trends How the concentration of
pollutants evolve over time?
Neighborhoods Financial District and Latourette Park measure consistently higher concentration of ozone than the city average.
The oposite is observed for the neighborhoods Bronx Park and
Flatiron.
#### What are the four most relevant Carbon Monoxide observations and
their neighborhood?
Neighborhoods Tribeca and Downtown Brooklyn measure slightly higher concentration of CO than the city average.
The oposite is observed for the neighborhoods Midtown and Bronx
Park.
##
## Attache Paket: 'plotly'
## Das folgende Objekt ist maskiert 'package:ggplot2':
##
## last_plot
## Das folgende Objekt ist maskiert 'package:stats':
##
## filter
## Das folgende Objekt ist maskiert 'package:graphics':
##
## layout
In the map below, the darker the red, the higher the CO average concentration in ppm between 1990 and 2000. Since the majority of the neighborhoods do not have a monitor, their CO concentration are estimated through weighted average of all the other monitors. The weights are function of the distances to the other monitors (Read more here).
The nearst monitor distance, which is displayed together of the estimation and neighborhood name, can be interpreted as a measurement of approximation occur. It is expected that, the closer a neighborhood is from a monitor, the more accurate is the estimation of the reality. Looking to the [Choropleth](https://en.wikipedia.org/wiki/Choropleth_map#:~:text=A%20choropleth%20map%20(from%20Greek,each%20area%2C%20such%20as%20population) below, it is possible to conclude:
## Registered S3 method overwritten by 'geojsonsf':
## method from
## print.geojson geojson
##
## Attache Paket: 'geojsonio'
## Das folgende Objekt ist maskiert 'package:base':
##
## pretty
##
## Attache Paket: 'geosphere'
## Das folgende Objekt ist maskiert 'package:geojsonio':
##
## centroid